#ifndef __TASK_MANAGE_H__
#define __TASK_MANAGE_H__

#include "main.h"	
#include "iwdg.h"


typedef struct
{
	bool Performs_Flag;
	uint32_t current_count;
}PeriodManage_t;


typedef struct
{
	PeriodManage_t TaskPeriod_1ms;
	PeriodManage_t TaskPeriod_5ms;
	PeriodManage_t TaskPeriod_10ms;
	PeriodManage_t TaskPeriod_20ms;	
	PeriodManage_t TaskPeriod_50ms;
	PeriodManage_t TaskPeriod_200ms;
	PeriodManage_t TaskPeriod_500ms;
	PeriodManage_t TaskPeriod_1s;
	PeriodManage_t TaskPeriod_2s;
	PeriodManage_t TaskPeriod_5s;
}TaskManage_t;





void system_tick_run(void);

void system_task_run(void);












#endif /* __TASK_MANAGE_H__ */


